package com.heima.a07_demo.server.mapper;


import com.heima.a07_demo.pojo.entity.Doctor;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Select;

@Mapper
public interface LoginMapper {
    /*
    * 根据用户名查询员工的全部信息
    * */
    @Select("select * from doctor where phone_number=#{phoneNumber}")
    Doctor getByPhoneNumber(String phoneNumber);
}
